package com.yue.ssa.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author zhengyl
 * @description 文件实体类
 * @date 2020-04-08 9:28
 */
@ApiModel("文件")
public class File {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("关联主键")
    private String relatedId;
    @ApiModelProperty("关联类型")
    private String relatedType;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("磁盘路径")
    private String path;
    @ApiModelProperty("网络访问路径")
    private String url;
    @ApiModelProperty("创建时间")
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRelatedId() {
        return relatedId;
    }

    public void setRelatedId(String relatedId) {
        this.relatedId = relatedId;
    }

    public String getRelatedType() {
        return relatedType;
    }

    public void setRelatedType(String relatedType) {
        this.relatedType = relatedType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
